// 公共API
const install = (Vue, vm) => {



	//获取公告
	let getNoticeList = (pageNo, pageSize, data) => vm.$zx.post(
		`/api/myInfo/listStationMessage/${pageNo}/${pageSize}`, data)
	let getBankList = (pageNo, pageSize, data) => vm.$zx.post(
		`/api/common/listBank/${pageNo}/${pageSize}`, data)
	let getBankBranchList = (pageNo, pageSize, data) => vm.$zx.post(
		`/api/common/listBranch/${pageNo}/${pageSize}`, data)
	let listProvinceCityArea = () => vm.$zx.get(
		`/api/common/listProvinceCityArea`)

	let uploadImage = (data) => vm.$zx.get(
		`/aliyun/uploadImage`, data)
	let getOCRRead = (data) => vm.$zx.post(
		`/common/ocr`, data)

	let readAllStationMessage = (data) => vm.$zx.get(
		`/api/myInfo/readAllStationMessage`, data)
	vm.$zx.common_api = {
		getNoticeList,
		getBankList,
		listProvinceCityArea,
		uploadImage,
		getOCRRead,
		getBankBranchList,
		readAllStationMessage
	};
};

export default {
	install,
};